package com.mms.dao;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.Statement;

public class dbConnection {
	
	private Connection conn;
	
    public dbConnection(){	
	}
    
	public  Connection getconn(){
		try{
			Class.forName("com.mysql.jdbc.Driver");
			String url = "jdbc:mysql://localhost:3306/mms";
			String username = "root";
			String password = "1234";
			
			conn = DriverManager.getConnection(url,username,password);	
		}catch(Exception e){
		}
		return conn;
	 }
}
